# -*- coding: utf-8 -*-
from aop.api.base import BaseApi

class OrderRelationWriteParam(BaseApi):
    """将机构真实用户的订单和机构账号产生的1688订单的映射关系回传1688。


    """

    def __init__(self, domain=None):
        BaseApi.__init__(self, domain)
        self.access_token = None
        self.orderRelationParam = None

    def get_api_uri(self):
        return '1/com.alibaba.fenxiao.crossborder/order.relation.write'

    def get_required_params(self):
        return ['orderRelationParam']

    def get_multipart_params(self):
        return []

    def need_sign(self):
        return True

    def need_timestamp(self):
        return False

    def need_auth(self):
        return True

    def need_https(self):
        return False

    def is_inner_api(self):
        return False
